package com.todo.biz.application.frontend.service;


import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.common.common.entity.response.BizResponse;
import com.todo.biz.iface.frontend.request.*;
import com.todo.biz.iface.frontend.response.CollectBusinessDataVO;
import com.todo.biz.iface.frontend.response.LikeBusinessDataVO;

/**
 * (BizAssociate)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:41
 */
public interface BizAssociateAggService {

    /**
     * 点赞
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> likeBusinessData(LikeBusinessDataParam param);

    /**
     * 收藏
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> collectBusinessData(CollectBusinessDataParam param);

    /**
     * 移除点赞
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> removeLikeData(RemoveLikeDataParam param);

    /**
     * 移除收藏
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> removeCollectData(RemoveCollectDataParam param);

    /**
     * 查询用户点赞列表
     *
     * @param param
     * @return
     */
    BizPageResponse<LikeBusinessDataVO> queryLikeBusinessData(QueryLikeBusinessDataParam param);

    /**
     * 查询用户收藏列表
     *
     * @param param
     * @return
     */
    BizPageResponse<CollectBusinessDataVO> queryCollectBusinessData(QueryCollectBusinessDataParam param);
}
